/<template>
  <div >
         <ul>
            <li v-for="(item,index) in list" :key="index">
                <img :src="item.img">
            </li>
        </ul>
  </div>
</template>

<script>
import  axios from "axios"
export default {
    data(){
        return{
            list:[]
        }
    },
      mounted() {
        axios.get("/api/list").then(res=>{
            console.log(res.data)
            this.list=res.data
        })
    },

}
</script>

<style>

</style>